package cn.fbs.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @author yuyuesheng
 * @version 1.0
 * @description: `t_atlas_type_info`表
 * @date 2021/2/1 10:28
 */
@ApiModel("图册实体类")
public class TAtlasInfo {

    /**
     * 类型id
     */
    @ApiModelProperty(name = "id", value = "类型Id",example = "1")
    private Integer id;
    /**
     * 操作人
     */
    @ApiModelProperty(value = "操作人")
    private String operator;
    /**
     * 图册或类型名称
     */
    @ApiModelProperty(name = "atlasName", value = "图册或类型名称")
    private String atlasName;

    /**
     * 文件保存路径
     */
    @ApiModelProperty(name = "fileUrl",value = "文件保存路径")
    private String fileUrl;

    /**
     * 图册或类型描述
     */
    @ApiModelProperty(name = "memo", value = "图册或类型描述")
    private String memo;

    /**
     * 父节点id
     */
    @ApiModelProperty(name = "pid", value = "父节点id",example = "1")
    private Integer pid;

    /**
     * 用户id
     */
    @ApiModelProperty(name = "userId", value = "用户id",example = "1")
    private Integer userId;

    /**
     * 数据类型
     */
    @ApiModelProperty(name = "dataType", value = "0.类型数据 1.图册数据",example = "1")
    private Integer dataType;

    /**
     * 创建时间
     */
    @ApiModelProperty(name = "createDate", value = "创建时间")
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss",timezone = "GMT+8")
    private Date createDate;

    /**
     * 修改时间
     */
    @ApiModelProperty(name = "updateDate", value = "修改时间")
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss",timezone = "GMT+8")
    private Date updateDate;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAtlasName() {
        return atlasName;
    }

    public void setAtlasName(String atlasName) {
        this.atlasName = atlasName;
    }

    public String getFileUrl() {
        return fileUrl;
    }

    public void setFileUrl(String fileUrl) {
        this.fileUrl = fileUrl;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getDataType() {
        return dataType;
    }

    public void setDataType(Integer dataType) {
        this.dataType = dataType;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }
}
